Mapping grant references into HVM guests, take 2
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 13 Jul 2009 11:35:34 +0000 (12:35 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 13 Jul 2009 11:35:34 +0000 (12:35 +0100)
commitb37d30c8fc5226203f5bb71fe79789cd8545f09b
tree029563b737d32391316a9bb7e4fd4fadd66c97fb
parent1c4e651d3f00df7e81f8dbbd123b07835d6c9ebc
Mapping grant references into HVM guests, take 2

After some discussion, here's a second version of the patch I posted a
couple of weeks back to map grant references into HVM guests.  As
before, this is done by modifying the P2M map, but this time there's
no new hypercall to do it.  Instead, the existing GNTTABOP_map is
overloaded to perform a P2M mapping if called from a shadow mode
translate guest.  This matches the IA64 API.

Signed-off-by: Steven Smith <steven.smith@citrix.com>
Acked-by: Tim Deegan <tim.deegan@citrix.com>
CC: Bhaskar Jayaraman <Bhaskar.Jayaraman@lsi.com>
18 files changed:
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/stdvga.c
xen/arch/x86/hvm/svm/emulate.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/viridian.c
xen/arch/x86/mm.c
xen/arch/x86/mm/hap/p2m-ept.c
xen/arch/x86/mm/p2m.c
xen/arch/x86/mm/paging.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/multi.c
xen/common/grant_table.c
xen/include/asm-ia64/grant_table.h
xen/include/asm-x86/grant_table.h
xen/include/asm-x86/hvm/domain.h
xen/include/asm-x86/hvm/support.h
xen/include/asm-x86/p2m.h